<template>
  <view class="card" @click="goxq">
    <view class="tr1">
      {{ item.adSlotTypeName }}
    </view>
    <view class="tr1 je"> 收入 ¥{{ item.income }} </view>
    <view class="tr1"> 曝光 {{ item.exposureCount }} </view>
    <view class="tr1"> 拉取 {{ item.reqSuccCount }} </view>
    <view class="tr1"> 点击 {{ item.clickCount }} </view>
  </view>
</template>
<script>
export default {
  name: "listcard",
  props: {
    item: {
      typeof: Object,
      default: () => {
        return {};
      },
    },
    list: {
      typeof: Object,
      default: () => {
        return {};
      },
    },
  },
  data() {
    return {};
  },
  computed: {},
  methods: {
    goxq() {
      uni.navigateTo({
        url: "/pageswork/appman/oneAppId/list?appletId=" + this.item.appletId,
      });
    },
  },
};
</script>
<style lang="scss" scoped>
.card {
  margin: 20rpx;
  box-shadow: 0rpx 0rpx 10rpx #eee;
  border-radius: 10rpx;
  color: #333;
  padding: 20rpx 0;
  position: relative;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  .tr1 {
    display: flex;
    height: 60rpx;
    width: 50%;
    align-items: center;
    justify-content: space-between;
    padding: 0 30rpx;
    font-size: 28rpx;
  }

  .je {
    color: #32ae57;
  }
}
</style>
